package Month09.day0927;

public class Animal {
    public void call(){
        System.out.println("某只大猩猩在仰天咆哮");
    }

    public static void main(String[] args) {
        Object obj = new Animal();
        if(obj instanceof Animal){
            Animal animal = (Animal) obj;
            animal.call();
        }
    }
}
